package com.lkm.app_ui.m.Imple.fun;

import com.lkm.app_ui.AppConst;
import com.lkm.app_ui.m.fun.FunModule;
import com.lkm.app_ui.m.input.OnInputContentEvent;
import com.lkm.frame.otto.LinkBus;
import com.lkm.frame.otto.Observer;



class InterceptScanInputJson {

    static void onInputContentEvent() {
        LinkBus.registerReceiver(0, new Observer<OnInputContentEvent>() {
            @Override
            public void onReceiver(OnInputContentEvent data, Runnable runnable) {



                if (data.getContent().startsWith("{") || data.getContent().startsWith("[")) {

                } else {
                    runnable.run();

                }
            }

            @Override
            public Class getBusEventClass() {
                return OnInputContentEvent.class;
            }
        });
    }

}
